import { default } from '../dragVerify/dragVerify.vue'; import { name } from '../../../vite.config';
<!--
 * @Author: wujian
 * @Date: 2023-04-11 09:58:18
 * @LastEditors: wujian
 * @LastEditTime: 2023-04-21 20:51:44
 * @FilePath: \scada\src\components\container\outdo-container.vue
 * @Description: 封装table
 * @email: 281919544@qq.com
 * Copyright (c) 2023 by wujian, All Rights Reserved. 
-->
<template>
	<div class="pos-r height-100">
		<div class="pos-a w-h-100" :class="overYAuto ? 'over-y-a' : ''">
			<slot></slot>
		</div>
	</div>
</template>

<script setup lang="ts">
defineProps({
	overYAuto: {
		type: Boolean,
		default: false,
	},
});
</script>

<style lang="scss" scoped>
.over-y-a {
  overflow-y: auto;
}
.height-100 {
  height: 100%
}
</style>
